package com.talos.ums.controller.admin.usercustomer.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 账号关联客户表 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UmsUserCustomerRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2872")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "账号id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1347")
    @ExcelProperty("账号id")
    private Long userId;

    @Schema(description = "货主id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11906")
    @ExcelProperty("货主id")
    private Long companyId;

    @Schema(description = "货主编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("货主编码")
    private String companyCode;

    @Schema(description = "货主名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("货主名称")
    private String companyName;

    @Schema(description = "客户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4575")
    @ExcelProperty("客户id")
    private Long customerId;

    @Schema(description = "客户编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("客户编码")
    private String customerCode;

    @Schema(description = "客户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("客户名称")
    private String customerName;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11554")
    @ExcelProperty("创建人id")
    private Long creatorId;

    @Schema(description = "创建人编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建人编码")
    private String creatorCode;

    @Schema(description = "创建人名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("创建人名称")
    private String creatorName;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("更新时间")
    private LocalDateTime modifyTime;

    @Schema(description = "更新人id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12841")
    @ExcelProperty("更新人id")
    private Long modifierId;

    @Schema(description = "更新人编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("更新人编码")
    private String modifierCode;

    @Schema(description = "更新人名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("更新人名称")
    private String modifierName;

    @Schema(description = "租户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6875")
    @ExcelProperty("租户id")
    private Long tenantId;

}
